package crmsystem.com.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 
 * 
 * @author zhugaowei
 * @email 1912431877@qq.com
 * @date 2021-01-07 12:48:11
 */
@Data
@TableName("product")
public class ProductEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@NotNull
	@TableId
	private Integer id;
	/**
	 * 
	 */
	@NotEmpty
	private String productname;
	/**
	 * 机构名称
	 */
	@NotEmpty
		private String nameorganization;
	/**
	 * 
	 */
	@NotEmpty
	private String productcategory;
	/**
	 * 产品状态
	 */
	@NotEmpty
	private String productstatus;
	/**
	 * 经办人
	 */
	@NotEmpty
	private String gestores;
	/**
	 * 联系人
	 */
	@NotEmpty
	private String contactperson;
	/**
	 * 审核状态
	 */
	@NotEmpty
	private String status;
	/**
	 * 使用状态
	 */
	@NotEmpty
	private String usestate;
	/**
	 * 开通日期
	 */
	@NotNull
	private Date openingdate;
	/**
	 * 合同编号
	 */
	@NotNull
	private Integer contractid;

}
